﻿@{
    ViewBag.Title = "Home Page";
}

<div class="jumbotron">
    <h1>ASP.NET</h1>
    <p class="lead">ASP.NET is a free web framework for building great Web sites and Web applications using HTML, CSS and JavaScript.</p>
    <p><a href="http://asp.net" class="btn btn-primary btn-lg">Learn more &raquo;</a></p>
</div>

<div class="row">
    <div class="col-md-12">
        @using (Html.BeginForm("Login", "Home"))
        {
            <input type="text" name="account" class="form-control" />
            @Html.Password("password", null, new { @class = "form-control" })
            <button>登入</button>
        }
    </div>
</div>

<a href="@Url.Action("test")" class="btn btn-block btn-success">此連結需登入才可進入</a>